<?php /* Smarty version 2.6.26, created on 2014-02-07 08:05:35
         compiled from dashboard.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


<div class="titleFull">

	<div class="wrapper">

		<h1 style="line-height: 100px; margin: 0px;">Dashboard</h1>

	</div>

</div>


<div class="titleBlueBar"></div>




<div class="content2">

	<div class="wrapper">

		<div class="h30"></div>

		<div class="boxLeft2">



			<?php if ($this->_tpl_vars['news'] != ""): ?>
			<?php $_from = $this->_tpl_vars['news']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['n'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['n']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['alert']):
        $this->_foreach['n']['iteration']++;
?>

			<div class="newsTitle"><img src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
images/i_light.png" border="0" align="absmiddle"> &nbsp; <a href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
news.php?nid=<?php echo $this->_tpl_vars['alert']['id']; ?>
" target="_blank"><?php echo $this->_tpl_vars['alert']['title']; ?>
</a> - <font color="#999999"><?php echo $this->_tpl_vars['alert']['date']; ?>
</font></div><br>
			<?php echo $this->_tpl_vars['alert']['desc']; ?>
&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
news.php?nid=<?php echo $this->_tpl_vars['alert']['id']; ?>
" target="_blank">More &raquo;</a>
			<br><br>

			<?php endforeach; endif; unset($_from); ?>
			<?php endif; ?>

			<br>
			<div class="dottedline"></div>
			<br>

			<div class="boxLeft2Left"><h3>Earnings Overview Graph</h3></div>
			<div class="boxLeft2Right" style="margin-top: 20px;"><a href="#" id="curmonth_graph">This Month</a> | <a href="#" id="lastmonth_graph">Last Month</a></div>

			<br><br><br>

			<iframe src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
overview_graph.php" id="graphFrame" style="width:670px; height:280px; border:0; overflow:hidden; " scrolling="no" ></iframe>




			<!--Earn Summary-->
			<div class="h10"></div>

			<h3>Earnings Summary</h3>

			<table style="border:1px solid #cccccc; width:670px;" cellpadding="0" cellspacing="0">
			<tr style="background:#fffee8; height:25px; color: #00a0c2;">
				<td colspan="2">&nbsp;&nbsp;Download Earnings</td>    <td colspan="2" style="border-left:1px solid #cccccc;">&nbsp;&nbsp;Referral Commissions</td>
			</tr>

			<tr style="height:25px;">
			  <td style="border-top:1px solid #cccccc;">&nbsp;&nbsp;Today</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;$<?php echo $this->_tpl_vars['today_downloads_earnings']; ?>
</td>  <td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;Today</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;$<?php echo $this->_tpl_vars['today_referrals_earnings']; ?>
</td>
			</tr>



			<tr style="height:25px; background:#f0f0f0">
			  <td style="border-top:1px solid #cccccc;">&nbsp;&nbsp;Yesterday</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;$<?php echo $this->_tpl_vars['yesterday_downloads_earnings']; ?>
</td>  <td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;Yesterday</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;$<?php echo $this->_tpl_vars['yesterday_referrals_earnings']; ?>
</td>
			</tr>

			<tr style="height:25px;">
			  <td style="border-top:1px solid #cccccc;">&nbsp;&nbsp;This Month</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;$<?php echo $this->_tpl_vars['month_downloads_earnings']; ?>
</td>  <td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;This Month</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;$<?php echo $this->_tpl_vars['month_referrals_earnings']; ?>
</td>
			</tr>

			<tr style="height:25px;  background:#f0f0f0">
			  <td style="border-top:1px solid #cccccc;">&nbsp;&nbsp;All Time</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;$<?php echo $this->_tpl_vars['all_downloads_earnings']; ?>
</td>  <td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;All Time</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;$<?php echo $this->_tpl_vars['all_referrals_earnings']; ?>
</td>
			</tr>

			<tr style="background:#fffee8; height:25px; color: #00a0c2;">
				<td colspan="4" style="border-top:1px solid #cccccc; text-align:center;">Available Balance:&nbsp;&nbsp;$<?php echo $this->_tpl_vars['total_earnings']; ?>
</td>
			</tr>


			</table>


			</div>
			<!--End Earn Summary-->



		</div>




<!--Right Panel-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "sidebar.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--End Right Panel-->


<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>